package com.example.auth.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @ClassName HelloController
 * @Description TODO
 * @Author leejiliang
 * @DateTime 2020/4/24 11:22 AM
 * @Version 1.0
 */
@RestController
public class HelloController {
	@GetMapping("/hello")
	public String hello() {
		return "hello";
	}
	@GetMapping("/admin/hello")
	public String admin() {
		return "admin";
	}
}
